package com.yty.service.impl;

import com.yty.dao.EmpMapper;
import com.yty.pojo.JobOption;
import com.yty.service.ReportService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class ReportServiceImpl implements ReportService {

    @Autowired
    private EmpMapper empMapper;
    @Override
    public List<Map<String, Object>> getEmpJobData() {
        List<Map<String, Object>> empJobData = empMapper.getEmpJobData();
        return empJobData;
    }

    @Override
    public List<Map<String, Object>> getEmpGenderData() {
        List<Map<String, Object>> empGenderData = empMapper.getEmpGenderData();
        return empGenderData;
    }

    @Override
    public List<Map<String, Object>> getStudentDegreeData() {
        List<Map<String, Object>> studentDegreeData = empMapper.getStudentDegreeData();
        return studentDegreeData;
    }

    @Override
    public List<Map<String, Object>> getStudentCountData() {
        List<Map<String, Object>> studentCountData = empMapper.getStudentCountData();
        return studentCountData;
    }
}
